//
//  AddressModel.m
//  1gene
//
//  Created by 1jiyin on 16/5/13.
//  Copyright © 2016年 1jiyin. All rights reserved.
//

#import "AddressModel.h"
#import "NSDictionary+NULLToNSString.h"
@implementation AddressModel
-(instancetype)initWithDictionary:(NSDictionary *)dic
{
    if (self = [super init]) {
        dic=[NSDictionary changeType:dic];
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}

-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"id"]) {
        self.addressId=value;
    }
}
@end
